]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Use const instead of let in vfunc_leave_event
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 23 Apr 2020 22:03:17 +0000 (19:03 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 23 Apr 2020 22:14:40 +0000 (19:14 -0300)
The return value of the chain up is not changed, let's use the
proper descriptor.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1211

js/ui/appDisplay.js

index c8ac3284148e562c950b679207ca53a7291ccceb..2d58541f323ea2e983e331e997aedaac90d7a89e 100644 (file)
@@ -2205,7 +2205,7 @@ var AppIcon = GObject.registerClass({
     }
 
     vfunc_leave_event(crossingEvent) {
-        let ret = super.vfunc_leave_event(crossingEvent);
+        const ret = super.vfunc_leave_event(crossingEvent);
 
         this.fake_release();
         this._removeMenuTimeout();